#ifndef def_mainWindow
#define def_mainWinow

#include <iostream>
#include <windows.h>
#include <string.h>



class CWindow
{
private:
	HWND hWindow;
	WNDCLASSEX windowClass;
	

public:
	CWindow();
	~CWindow();
	int Create(HINSTANCE hInstance, std::string tittle, int x, int y, int width, int height);
	HWND getHWND();
	void Show();

	//friend LRESULT CALLBACK MainWindowEventProc(HWND hWindow, UINT uMsg, WPARAM wParam, LPARAM lParam);
};
LRESULT CALLBACK CWindowEventProc(HWND hWindow, UINT uMsg, WPARAM wParam, LPARAM lParam);


#endif